﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClientModels;
using ClientInterfaces;


namespace ClientControllers
{
    public class Cls_Controller
    {

        Cls_TaskControl taskController;
        Cls_ClientAccessCollection clientAccessCollection;

        public Cls_Controller()
        {
            taskController = new Cls_TaskControl();
            clientAccessCollection = new Cls_ClientAccessCollection();
        }

        public string GetCurrentPassword()
        {
            return clientAccessCollection.GetCurrentPassword();
        }

        #region Restrictions

        public void ShowTaskBar()
        {
            taskController.ShowTaskbar();
        }

        public void HideTaskBar()
        {
            taskController.HideTaskbar();
        }

        public void BlockTaskManager()
        {
            taskController.BlockTaskManager();
        }

        public void UnblockProcesses()
        {
            taskController.Unblock();
        }

        public void KillProcesses()
        {
            taskController.FindAndKillProcess();
        }

        #endregion        


    }
}
